package de.risk.game;

import java.util.ArrayList;

public class TruppenBewegung {

	private int fromCityID = -1;
	private int toCityID = -1;
	private String fromCityName = null;
	private String toCityName = null;
	private int besitzerID = -1;
	private int truppen_anzahl = -1;
	private String dateString = null;
//	private Truppe truppe = null;
//	
//	
//	
//	public TruppenBewegung(int fromCityID, int toCityID, String fromCityName,
//			String toCityName, int besitzerID, Truppe truppe,
//			String dateString) {
//		super();
//		this.fromCityID = fromCityID;
//		this.toCityID = toCityID;
//		this.fromCityName = fromCityName;
//		this.toCityName = toCityName;
//		this.besitzerID = besitzerID;
//		this.truppe = truppe;
//		this.dateString = dateString;
//	}
//	
//	
//
//	public String toString(){
//		return "[TruppenBewegung] fromCity:"+this.fromCityID+
//				", toCity: "+this.toCityID+
//				", fromCityName: "+this.fromCityName+
//				", toCityName: "+this.toCityName+
//				", besitzerID: "+this.besitzerID+
//				", truppe: "+this.truppe.toString()+
//				", dateString: "+this.dateString;
//	}
	
	
	public TruppenBewegung(int fromCityID, int toCityID, String fromCityName,
			String toCityName, int besitzerID, int truppenAnzahl,
			String dateString) {
		super();
		this.fromCityID = fromCityID;
		this.toCityID = toCityID;
		this.fromCityName = fromCityName;
		this.toCityName = toCityName;
		this.besitzerID = besitzerID;
		this.truppen_anzahl = truppenAnzahl;
		this.dateString = dateString;
	}
	
	public String toString(){
		return "[TruppenBewegung] fromCity:"+this.fromCityID+
				", toCity: "+this.toCityID+
				", fromCityName: "+this.fromCityName+
				", toCityName: "+this.toCityName+
				", besitzerID: "+this.besitzerID+
				", truppenanzahl: "+this.truppen_anzahl+
				", dateString: "+this.dateString;
	}
	
	public static void printArrayList(ArrayList<TruppenBewegung> list) {
		for(int i=0; i<list.size(); i++){
			System.out.println(list.get(i));
		}	
	}	
	
//	public Truppe getTruppe() {
//		return truppe;
//	}
//	public void setTruppe(Truppe truppe) {
//		this.truppe = truppe;
//	}
	public int getFromCityID() {
		return fromCityID;
	}
	public void setFromCityID(int fromCityID) {
		this.fromCityID = fromCityID;
	}
	public int getToCityID() {
		return toCityID;
	}
	public void setToCityID(int toCityID) {
		this.toCityID = toCityID;
	}
	public String getFromCityName() {
		return fromCityName;
	}
	public void setFromCityName(String fromCityName) {
		this.fromCityName = fromCityName;
	}
	public String getToCityName() {
		return toCityName;
	}
	public void setToCityName(String toCityName) {
		this.toCityName = toCityName;
	}
	public int getBesitzerID() {
		return besitzerID;
	}
	public void setBesitzerID(int besitzerID) {
		this.besitzerID = besitzerID;
	}
	public int getTruppen_anzahl() {
		return truppen_anzahl;
	}
	public void setTruppen_anzahl(int truppenAnzahl) {
		truppen_anzahl = truppenAnzahl;
	}
	public String getDateString() {
		return dateString;
	}
	public void setDateString(String dateString) {
		this.dateString = dateString;
	}
	

	
	
}
